package com.kaoshi.service.impl;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.kaoshi.entity.Team;
import com.kaoshi.mapper.TeamMapper;
import com.kaoshi.service.ITeamService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author author
 * @since 2024-10-29
 */
@Service
public class TeamServiceImpl extends ServiceImpl<TeamMapper, Team> implements ITeamService {

    @Autowired
    private TeamMapper teamMapper;
    @Override
    public Page<Team> findpage(Page<Team> page, Team team,Integer id,String name) {
        return teamMapper.findpage(page,team,id,name);
    }

    @Override
    public Page<Team> findpage1(Page<Team> page, Team team, Integer id) {
        return teamMapper.findpage1(page,team,id);
    }
}
